<?php include 'application/views/header.php' ?>
<?php include 'application/views/left.php' ?>

<?php if(!empty($Products)): ?>
<div class="content-box box-products page-product">
    <div class="title">
        <div class="label">Sản phẩm</div>
        <div class="end-title"></div>
    </div>
    <!-- content -->
    <div class="list-product box-content">
        <?php foreach($Products as $product): ?>
            <div class="item">
                <div class="image"><a href="<?php echo $this->config->site_url() ?>product/detail/<?php echo $product['ProductId'] ?>.html"><img width="150" src="<?php echo base_url() ?>/public/images/products/<?php echo $product['Image'] ?>" /></a></div>
                <div class="short-description">
                    <a href="<?php echo $this->config->site_url() ?>product/detail/<?php echo $product['ProductId'] ?>.html"><h3><?php echo $product['ProductName'] ?></h3></a>
                    <div class="description"><?php echo $product['ProductDescription'] ?></div>
                </div>
                <div class="clr"></div>                
            </div>
        <?php endforeach; ?>                                       
    </div>
</div>
<?php endif; ?>

<?php include 'application/views/right.php' ?>
<?php include 'application/views/footer.php' ?>